projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4a45e
)
tools: Work with deprecated APIs
author
Benjamin Otte
<otte@redhat.com>
Wed, 9 Nov 2011 02:22:19 +0000
(
03:22
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 9 Nov 2011 02:23:43 +0000
(
03:23
+0100)
We want to screenshot deprecated widgets, so we'd better not fail when
using them.
docs/tools/widgets.c
patch
|
blob
|
history
diff --git
a/docs/tools/widgets.c
b/docs/tools/widgets.c
index 6731ef0143fc705740703632d8f6f3c1fee9dc8d..949a35a3d91bfae825ccadb123f43556a247ae44 100644
(file)
--- a/
docs/tools/widgets.c
+++ b/
docs/tools/widgets.c
@@
-1,5
+1,8
@@
#include "config.h"
+#define GDK_DISABLE_DEPRECATION_WARNINGS
+#undef GTK_DISABLE_DEPRECATED
+
#include <gtk/gtkunixprint.h>
#include <gdk/gdkkeysyms.h>
#include <X11/Xatom.h>